package org.jwos.plugin.file.dao;

import javax.jcr.RepositoryException;
import javax.jcr.Session;

import org.jwos.plugin.file.jcr.util.RepositorySessionFactory;


public class JackrabbitBaseDAO {
	
	protected JackrabbitBaseDAO() {	
	}
	
	protected Session getSession() {
		return RepositorySessionFactory.currentSession();
	}
	
	public void save() throws RepositoryException {
		getSession().save();
	}
}
